-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-94485: Set line number of module's RESUME instruction to 0, as specified by PEP 626 #94552
Conversation
I think this needs a bytecode magic bump. The necessity to regen |
Could you please run
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR looks technically correct and the change makes sense to me. I'm not an expert for Python bytecode, though. Feel free to either merge the PR now or wait for approval by an expert.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @iritkatriel for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, @iritkatriel and @ambv, I could not cleanly backport this to |
Fun backport, looking 😎 |
… to 0, as specified by PEP 626 (pythonGH-94552) Co-authored-by: Mark Shannon <mark@hotpy.org> (cherry picked from commit 324d019) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
GH-94562 is a backport of this pull request to the 3.11 branch. |
#94485